<?php
class Familiare extends AppModel {
	var $name = 'Familiare';
	//The Associations below have been created with all possible keys, those that are not needed can be removed
	
	var $virtualFields = array(
    	'nombre_completo' => 'CONCAT(Familiare.primer_nombre, " ", Familiare.segundo_nombre, " ", 
    								 Familiare.primer_apellido, " ", Familiare.segundo_apellido)'
    );

	var $belongsTo = array(
		'Estudiante' => array(
			'className' => 'Estudiante',
			'foreignKey' => 'estudiante_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
?>